package com.baaio.bean;

import com.baaio.util.BaaioPropotype;


public class Test2 extends BaaioPropotype
{
	private int id;
	private String cname;

	
	public Test2()
	{
		this.PRIMARYKEY = "id";
	}
	
	public int getId()
	{
	
		return id;
	}


	
	public void setId(int id)
	{
	
		this.id = id;
	}


	
	public String getCname()
	{
	
		return cname;
	}


	
	public void setCname(String cname)
	{
	
		this.cname = cname;
	}


	@Override
	public void setRelation()
	{
		setOneToMe(new Study(),"cname");

	}

}
